using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;

namespace ConsoleApplication1
{
    class Program
    {
        static void Main(string[] args)
        {
                int inNumber = 0;
                string result = "";
                string inString = Console.ReadLine();
                int.TryParse(inString, out inNumber);
                if (inNumber >= 1 && inNumber <= 2000)
                {
                    if (inNumber >= 1 && inNumber <= 4)
                    {
                        result = "few";
                    }
                    else if (inNumber >= 5 && inNumber <= 9)
                    {
                        result = "several";
                    }
                    else if (inNumber >= 5 && inNumber <= 9)
                    {
                        result = "several";
                    }
                    else if (inNumber >= 10 && inNumber <= 19)
                    {
                        result = "pack";
                    }
                    else if (inNumber >= 20 && inNumber <= 49)
                    {
                        result = "lots";
                    }
                    else if (inNumber >= 100 && inNumber <= 249)
                    {
                        result = "throng";
                    }
                    else if (inNumber >= 250 && inNumber <= 499)
                    {
                        result = "swarm";
                    }
                    else if (inNumber >= 500 && inNumber <= 999)
                    {
                        result = "zounds";
                    }
                    else if (inNumber >= 1000)
                    {
                        result = "legion";
                    }

                }
                Console.WriteLine(result);
            
        }
 
    }
}
